package org.mzy.serve.mapper;

import org.mzy.basic.mapper.BaseMapper;
import org.mzy.pet.domain.Pet;
import org.mzy.serve.domain.Product;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mzy
 * @since 2022-11-03
 */
public interface ProductMapper extends BaseMapper<Product> {

    void onsale(Long id);

    void offsale(List<Long> ids);

    Product getProductDetail(Long id);
}
